package com.example.post.mapper;

import com.example.post.model.Blog;
import com.example.post.model.Remark;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface RemarkMapper {
    List<Remark> findAll();
    void addRemark(Remark remark);
    void deleteRemark(int id);
    List<Remark> findRemarkByBlogId(int blogId);
    Remark findRemarkById(int id);
    List<Remark> findAllByObserver(String observer);

}
